//
//  SeventeenViewController.swift
//  swiftTS
//
//  Created by 航电 on 2020/3/10.
//  Copyright © 2020 航电. All rights reserved.
//

import UIKit

class SeventeenViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        self.title = "搜索栏使用"
        // Do any additional setup after loading the view.
        self.onCreateUIForNavigation();
      
    }
    
    //TODO:UI
    fileprivate func onCreateUIForNavigation() {
        self.navigationItem.leftBarButtonItem = UIBarButtonItem(title: "返回", style: UIBarButtonItem.Style.done, target: self, action: #selector(onBackAction))
    }

    
    //TODO:Actions
    @objc fileprivate func onBackAction() {
        self.dismiss(animated: true, completion: nil);
    }
}


